package com.CGFrame.struts.POJOs;

import java.util.HashSet;
import java.util.Set;

/**
 * Reguser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Reguser implements java.io.Serializable {

	// Fields

	private Integer regUserId;
	private Status status;
	private Employee employee;
	private String regName;
	private String passWord;
	private Set confirmhistories = new HashSet(0);
	private Set reguserroles = new HashSet(0);
	private Set commentses = new HashSet(0);
	private Set confirms = new HashSet(0);
	private Set loghistories = new HashSet(0);
	private Set materials = new HashSet(0);
	private Set tasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Reguser() {
	}

	/** minimal constructor */
	public Reguser(Status status, Employee employee, String regName,
			String passWord) {
		this.status = status;
		this.employee = employee;
		this.regName = regName;
		this.passWord = passWord;
	}

	/** full constructor */
	public Reguser(Status status, Employee employee, String regName,
			String passWord, Set confirmhistories, Set reguserroles,
			Set commentses, Set confirms, Set loghistories, Set materials,
			Set tasks) {
		this.status = status;
		this.employee = employee;
		this.regName = regName;
		this.passWord = passWord;
		this.confirmhistories = confirmhistories;
		this.reguserroles = reguserroles;
		this.commentses = commentses;
		this.confirms = confirms;
		this.loghistories = loghistories;
		this.materials = materials;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getRegUserId() {
		return this.regUserId;
	}

	public void setRegUserId(Integer regUserId) {
		this.regUserId = regUserId;
	}

	public Status getStatus() {
		return this.status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getRegName() {
		return this.regName;
	}

	public void setRegName(String regName) {
		this.regName = regName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public Set getConfirmhistories() {
		return this.confirmhistories;
	}

	public void setConfirmhistories(Set confirmhistories) {
		this.confirmhistories = confirmhistories;
	}

	public Set getReguserroles() {
		return this.reguserroles;
	}

	public void setReguserroles(Set reguserroles) {
		this.reguserroles = reguserroles;
	}

	public Set getCommentses() {
		return this.commentses;
	}

	public void setCommentses(Set commentses) {
		this.commentses = commentses;
	}

	public Set getConfirms() {
		return this.confirms;
	}

	public void setConfirms(Set confirms) {
		this.confirms = confirms;
	}

	public Set getLoghistories() {
		return this.loghistories;
	}

	public void setLoghistories(Set loghistories) {
		this.loghistories = loghistories;
	}

	public Set getMaterials() {
		return this.materials;
	}

	public void setMaterials(Set materials) {
		this.materials = materials;
	}

	public Set getTasks() {
		return this.tasks;
	}

	public void setTasks(Set tasks) {
		this.tasks = tasks;
	}

}